package hsh.main;

import javax.swing.SwingUtilities;

import hsh.gui.LASh;
import hsh.gui.LashVisualInterface;
import hsh.kernel.OperatingSystemKernel;
import hsh.processor.Processor;

public class BootHSHOS {

	
	
	public static void main(String[] args) {
		
		OperatingSystemKernel os = new OperatingSystemKernel(new Processor());
		LashVisualInterface gui =  new LashVisualInterface(os);
		
		gui.setVisible(true);
		
		
//		SwingUtilities.invokeLater(new Runnable(){
//			
//			public void run() {
//				LashVisualInterface gui  = new LashVisualInterface();
//				gui.setVisible(true);
//		}});
//		
		//gui.addSchell(new LASh(os));
		
		
		Thread threadOS = new Thread(os);
		threadOS.start();
		
		
	}
	
	
}
